package com.season.seasonStudy.javase.j_003_array_collection;

import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

/**
 * Arrays是一个操作数组的类
 */

/**
 * Arrays.sort(a);//从小到大进行排序
 */
public class ArraysDemo {
	public static void main(String[] args) {
		int[] a = new int[5];
		a[0] = 2;
		a[1] = 4;
		a[2] = 99;
		a[3] = 9;
		a[4] = 0;
		Arrays.sort(a);
		for (int i : a) {
			System.out.println(i+"\t");
		}
	}
}
